package com.igor.bookStore.beans;

import java.util.Date;
import java.util.LinkedList;
import java.util.List;

import com.igor.bookStore.inface.Book;
import com.igor.bookStore.inface.Purchase;
import com.igor.bookStore.inface.PurchaseItem;



public class BookBean implements Book {
	
	private String name;
	//private List<Purchase> purchases = new LinkedList<Purchase>();
    private List<PurchaseItem> purchaseItem = new LinkedList<PurchaseItem>();

	private String author;
	private String shortDescription;
	private double price =0.0;
	private Date date;
	
	
	public Date getDate(){
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
//	public List<Purchase> getPurchases() {
//		return purchases;
//	}
//	public void setPurchases(List<Purchase> purchases) {
//		this.purchases = purchases;
//	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public String getShortDescription() {
		return shortDescription;
	}
	public void setShortDescription(String shortDescription) {
		this.shortDescription = shortDescription;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public List<PurchaseItem> getPurchaseItem() {
		return purchaseItem;
	}
	public void setPurchaseItem(List<PurchaseItem> purchaseItem) {
		this.purchaseItem = purchaseItem;
	}
	
	
	

}
